﻿<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    Title="Password Generator" Height="300" Width="300" WindowStartupLocation="CenterScreen">
    <StackPanel Margin="10">
        <StackPanel Orientation="Horizontal">
            <Label Name="l1" Content="Password length:" />
            <ComboBox Name="combo" Width="40"/>
        </StackPanel>
        <Label Content="Include:" />
        <CheckBox Name="c1" Margin="5" Content="Upper case letters" />
        <CheckBox Name="c2" Margin="5" Content="Numbers" />
        <CheckBox Name="c3" Margin="5" Content="Other characters" />
        <Button Name="btn" Content="Generate" HorizontalAlignment="Left" Margin="5" Width="75" Height="25" />
        <StackPanel Orientation="Horizontal">
            <Label Name="l2" Content="Password:" />
            <TextBox Name="txt1" Width="160" />
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <Label Name="l3" Canvas.Left="12" Canvas.Top="190" Content="Strength:" Height="28" />
            <Label Name="l4" Canvas.Left="100" Canvas.Top="190" Content="" Height="28" Visibility="Hidden" />
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <Rectangle Name="rec1" Height="10" Stroke="Black" Width="50" />
            <Rectangle Name="rec2" Height="10" Stroke="Black" Width="50" />
            <Rectangle Name="rec3" Height="10" Stroke="Black" Width="50" />
            <Rectangle Name="rec4" Height="10" Stroke="Black" Width="50" />
        </StackPanel>
    </StackPanel>
</Window>